﻿function JiaoZhiGong(model) {
    return {
        userinfoId: model ? model.userinfoId : "",
        username: model ? model.username : "",
        zgid: model ? model.zgid : 0,
        XingMing: model ? model.XingMing : "",
        ShouJiHao: model ? model.ShouJiHao : "",
        XingBie: model ? model.XingBie : 0,
        keshi: {
            ksid: model && model.keshi ? model.keshi.ksid : 0,
            ksmc: model && model.keshi ? model.keshi.ksmc : ""
        },
        zwid: model ? model.zwid : 0,
        zwmc: model ? model.zwmc : ""
    };
}